.bg{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(119, 117, 117, 0.2);
}


.dialog{
    width: 400px;
    height: 300px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.header{
    height: 40px;
    line-height: 20px;
    position: relative;
    border-bottom: 1px solid #ccc;
}

.close{
    position: absolute;
    right: 20px;
    top: 15px;
}

.title{
    position: absolute;
    left: 30px;
    top: 15px;
}

.footer{
    position: absolute;
    bottom: 10px;
    left: 10px;
}